package com.tjhk.design.protype;

public class ShapeDemo {
    public static void main(String[] args) {
        ShapeCache.loadCache();

        Shape shape1 =ShapeCache.getShape("1");
        System.out.println(shape1);
        Shape shape2 =ShapeCache.getShape("1");
        System.out.println(shape2);
        Shape shape3 =ShapeCache.getShape("1");
        System.out.println(shape3);
    }
}
